package com.aididi.demospringbootrabbitmqcallback.constant;

/**
 * @Auther: xuzexiang
 * @Date: 2018-11-18 0018 21:16
 * @Description:    常量类
 */
public class Constants {
    /**
     *订单投递状态
     */
    public class OrderSendStatus{
        /**
         *投递中
         */

        public static final String SENDING = "0";
        /**
         * 投递成功
         */
        public static final String SEND_SUCCESS = "1";
        /**
         * 投递失败
         */
        public static final String SEND_FAILURE = "2";
    }

    /**
     *  消息下次投递时间+1分钟
     */
    public static final int ORDER_TIMEOUT = 1;
    /**
     * 订单最大重试次数
     */
    public static final int MAX_RETRY_COUNT = 3;
    // 忽略声明异常
    public static final String IGNOREDECEXCEPTION = "true";


}
